package com.zhisheng.gufei.produce.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 处置废物设施情况表
 * 
 * @author xgye
 */
@Entity
@Table(name = "gf_facilities")
@Cache(usage = CacheConcurrencyStrategy.READ_ONLY)
public class GrabageFacilities implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 18743824131L;
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE,generator="seq")   
    @SequenceGenerator(name="seq", sequenceName="DECLARATION_SEQ") 
	private Integer id;
	
	/**
	 * 设备编号
	 */
	private String facilitiesId = "";
	
	/**
	 * 设施名称
	 */
	private String name = "";
	
	/**
	 * 固废编号
	 */
	private String grabageId = "";
	
	/**
	 * 设备处理能力
	 */
	private String capacity = "";
	
	/**
	 * 设备台数
	 */
	private String amount = "";
	
	/**
	 * 处理方法描述
	 */
	private String operateMethod = "";
	
	/**
	 * 年运行天数
	 */
	private String dayOfYear = "";
	
	/**
	 * 运行状况
	 */
	private String operateStatus = "";
	
	/**
	 * 年运行费用 
	 */
	private String charge = "";
	
	/**
	 * 运行年限
	 */
	private String operateYears = "";
	
	/**
	 * 属于哪家单位
	 */
	@ManyToOne
    @JoinColumn(name="corperationId",nullable=false)
	private Declaration declaration;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

    public String getFacilitiesId() {
        return facilitiesId;
    }

    public void setFacilitiesId(String facilitiesId) {
        this.facilitiesId = facilitiesId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGrabageId() {
        return grabageId;
    }

    public void setGrabageId(String grabageId) {
        this.grabageId = grabageId;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getOperateMethod() {
        return operateMethod;
    }

    public void setOperateMethod(String operateMethod) {
        this.operateMethod = operateMethod;
    }

    public String getDayOfYear() {
        return dayOfYear;
    }

    public void setDayOfYear(String dayOfYear) {
        this.dayOfYear = dayOfYear;
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public String getOperateYears() {
        return operateYears;
    }

    public void setOperateYears(String operateYears) {
        this.operateYears = operateYears;
    }

    public Declaration getDeclaration() {
        return declaration;
    }

    public void setDeclaration(Declaration declaration) {
        this.declaration = declaration;
    }

	
}
